package com.valco.data;

public class Book {

	public String getIsbn() {
		return isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}
	public String getIsbn13() {
		return isbn13;
	}

	public void setIsbn13(String isbn13) {
		this.isbn13 = isbn13;
	}
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getLink_url() {
		return link_url;
	}

	public void setLink_url(String link_url) {
		this.link_url = link_url;
	}

	public String getImage_url() {
		return image_url;
	}

	public void setImage_url(String image_url) {
		this.image_url = image_url;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public int getDiscount() {
		return discount;
	}

	public void setDiscount(int discount) {
		this.discount = discount;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public String getPubdate() {
		return pubdate;
	}

	public void setPubdate(String pubdate) {
		this.pubdate = pubdate;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Book() {
		pubdate = new String();
	}

	public Book(String _isbn,String _isbn13, String _title, String _link_url, String _image_url, String _author, int _price, int _discount, String _publisher, String _pubdate, String _description) {
		isbn = _isbn; 
		title = _title;
		link_url = _link_url;
		image_url = _image_url;
		author = _author;
		price = _price;
		discount = _discount;
		publisher = _publisher;
		pubdate = _pubdate;
		description = _description;
	}

	String isbn;  
	String isbn13;  


	String title;
	String link_url;
	String image_url;
	String author;
	int price;
	int discount;
	String publisher;
	String pubdate;
	String description;

	public void print() {
		System.out
				.println(String
						.format("ISBN : %s,ISBN : %s, TITLE : %s, AUTHOR : %s, PRICE : %d, publisher : %s",
								isbn,isbn13, title, author, price, publisher));
	}

}
